import numpy as np
print('environment pool')
# maximum number of time steps to run FDTD simulation
number_of_time_steps_pool = 15 #  326 #1079 

# A factor that determines duration of a time step
# wrt CFL limit
courant_factor_pool = 0.85

mesh_type_pool = 0           #网格类型，0表示TET体网格，1表示FDTD二进制格式
mesh_input_pool = "TET2.nas" #输入的四面体体网格文件，用以生成FDTD网格
fdtd_mesh_pool = "mesh.bin"  #输出的FDTD网格文件
icoat_pool = np.zeros(0,dtype=np.int32)
mapC2M_pool = {}
# A factor determining the accuracy limit of FDTD results
number_of_cells_per_wavelength_pool = 20    

# Dimensions of a unit cell in x, y, and z directions (meters)
dx_pool = 4e-3 
dy_pool = 4e-3
dz_pool = 4e-3

mesh_x0_pool = 0
mesh_y0_pool = 0
mesh_z0_pool = 0

time_user_pool = 500
# ==<boundary conditions>========
# Here we define the boundary conditions parameters 
# 'pec' : perfect electric conductor
# 'cpml' : conlvolutional PML
# if cpml_number_of_cells is less than zero
# CPML extends inside of the domain rather than outwards
boundary_pool = {}

# ===<material types>============
# Here we define and initialize the arrays of material types
# eps_r   : relative permittivity
# mu_r    : relative permeability
# sigma_e : electric conductivity
# sigma_m : magnetic conductivity
material_types_pool = []


# 定义激励源
# 激励源类型
waveform_type_pool = 1 #1代表正弦波，2代表高斯脉冲
# 正弦波
f_sinwave_pool = 900e6
# 高斯脉冲
setbandwidth_pool = 1.5e9# 带宽
f_center_pool = 1e9# 中心频率
src_pos_x_pool = 108e-3 + 50e-3
src_pos_y_pool = 0
src_pos_z_pool = 0
src_compoinent_pool = 'z'

thin_wires_pool = []
bricks_pool = []
spheres_pool = []
brian_pool ={}


frequency_domain_pool = {"start": 10e6,"end": 10e9,"step": 10e6}